﻿<link href="~/Content/login.css" rel="stylesheet" />
<div class="opcity">

</div>
@using (Html.BeginForm("Index", "Login", FormMethod.Post, new { id = "login" }))
{
    @Html.AntiForgeryToken()
    <div class="login">
        <div class="login-form">
            <div class="title">登录</div>
            <div>
                <input type="text" class="name" name="UserAccount" validate="{required:true,messages:{required:'请输入手机号码！'}}" placeholder="请输入手机号码" maxlength="15">
            </div>
            <div>
                <input type="password" class="password" name="Password" validate="{required:true,messages:{required:'请输入登录密码！'}}" placeholder="请输入登录密码" maxlength="20">
            </div>
           <div class="margin-t-10 w-p90">
                <a href="javascript:void(0)" class="weui-form-preview__btn weui-form-preview__btn_primary border-radius-6" onclick="if ($('#login').valid()) { $('#login').submit(); } else { return false };">
                    立即登录
                </a>
            </div>
            <div class="login-about">
                <a href="/Register" class="register">立即注册</a><span class=""></span><a class="forget-password" href="/Login/ForgetPassword">忘记密码</a>
            </div>
        </div>
    </div>
    
}
